package cn.zjh.basic.service;


import cn.zjh.basic.query.BaseQuery;
import cn.zjh.basic.util.PageList;

import java.util.List;

public interface IBaseService<T> {
    List<T> findAll();
    T findOne(Long id);

    void save(T t);
    void del(Long id);
    void upDate(T t);

    PageList<T> queryPage(BaseQuery baseQuery);

    void patchDelete(Long[] ids);

}
